//定义actions
import { ADD, ADD_TYPE } from './const';
export interface ADDAction {
    type: ADD_TYPE
}

export type ModifyAction = ADDAction;
//定义state次数的方法
export const add = (): ADDAction => ({
    type: ADD
})